<?php



use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\bootstrap\BootstrapAsset;
BootstrapAsset::register($this);
/* @var $this yii\web\View */
/* @var $model common\models\business\BusinessContract */
/* @var $form yii\widgets\ActiveForm */
?>
<form method="post" action="/business/pig/set-pigcost">


    <div class="form-group">
        <label for="basenum">成本</label>
        <input type="number" name="cost" class="form-control" id="cost" placeholder="成本">
    </div>

    <div class="form-group">
        <label for="endnum">销售价</label>
        <input type="number" name="price" class="form-control" id="price" placeholder="销售价">
    </div>
    <input type="hidden" name="ids" value="<?= $ids ?>">
    <input type="hidden" class="form-control" id="_csrf" name="_csrf" value="<?= Yii::$app->request->csrfToken?>">
    <button type="submit" class="btn btn-success">确认</button>
</form>
